-
Notifications
You must be signed in to change notification settings - Fork 89
[deps]: Update type-fest to v5 #886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Internal tracking:
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #886 +/- ##
=========================================
- Coverage 13.14% 7.67% -5.48%
=========================================
Files 68 68
Lines 2776 2776
Branches 482 482
=========================================
- Hits 365 213 -152
- Misses 2382 2548 +166
+ Partials 29 15 -14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6b60c75 to
02cc062
Compare
|
|
New Issues (1)Checkmarx found the following issues in this Pull Request
|
jrmccannon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unaffected by breaking changes. no runtime issues and tests pass.





This PR contains the following updates:
4.41.0->5.0.1Release Notes
sindresorhus/type-fest (type-fest)
v5.0.1Compare Source
4f9c248v5.0.0Compare Source
Breaking
b5b0214cc2b0f2type-festrequiresstrict: truein your tsconfig.StringKeyOf: Rename toKeyAsStringe492c9cArrayTail: EnablepreserveReadonlyby default and remove the optionb34b1d8CamelCase/CamelCasedProperties/CamelCasedPropertiesDeep/PascalCase/PascalCasedProperties/PascalCasedPropertiesDeep: DisablepreserveConsecutiveUppercaseby default8226c1bPartialDeep: DisableallowUndefinedInNonTupleArraysby defaultb3c4524Split: EnablestrictLiteralChecksby default544a846Paths: DefaultmaxRecursionDepth5 (was 10)2ab5decObservableLike: Move to sub-export2a1072eIf*types in favor of a singleIf4c2151aNew types
Alphanumeric— Single alphanumeric character (A–Z,a–z,0–9).484e030AllExtend— Evaluates totrueif every element of a tuple/array extendsU.c8c6d55ConditionalSimplify— Simplifies a type’s unions/intersections with opt-in controls.b7a4771ConditionalSimplifyDeep— Deep version ofConditionalSimplifythat recurses into objects.b7a4771DigitCharacter— Single ASCII digit character (0–9).484e030ExcludeStrict— Non-distributive, stricter variant ofExclude<T, U>.e6f62a2ExtendsStrict— Non-distributiveA extends Bcheck.d71242aExtractStrict— Non-distributive, stricter variant ofExtract<T, U>.98d24faIsLowercase— Evaluates totrueif a string literal is all lowercase.afe132cIsNullable— Evaluates totrueifTincludesnull.5067e25IsOptional— Evaluates totrueifTincludesundefined.5067e25IsOptionalKeyOf— Evaluates totrueif propertyKofTis optional.93728b5IsReadonlyKeyOf— Evaluates totrueif propertyKofTis readonly.93728b5IsRequiredKeyOf— Evaluates totrueif propertyKofTis required.93728b5IsUnion— Evaluates totrueifTis a union type.b3d92edIsUndefined— Evaluates totrueif the type is exactlyundefined.f7bc576IsUppercase— Evaluates totrueif a string literal is all uppercase.afe132cLowercaseLetter— Single lowercase Latin letter (a–z).484e030RemovePrefix— Removes a specified prefix from a string literal.18a1c04UppercaseLetter— Single uppercase Latin letter (A–Z).484e030Improvements
Jsonify: HandleunknownasJsonValue642bb13SetRequired/SetOptional/SetReadonly: Handle functions with propertiesa5e45d4Schema: Preserve arrays/remove extraneous unions8a96def; dropundefinedforrecurseIntoArrays1cb955bReadonlyKeysOf/WritableKeysOf: Addobjectconstrainta6efbe0TsConfigJson: Add TypeScript 5.9 fieldsd2bda94Fixes
Or: Fix withboolean,never,any42d6106And: Fix withboolean,never,anyb38ac60IsStringLiteral: Fix uncollapsed unions, and tagged typeseb37799/d1b35c7Paths: Fix behavior with index signatures9926e5dConditionalKeys: Fix behavior with arrays and unions4d7cc50RequiredDeep: Fix withundefinedbfcdbc4Split: Fix template strings ending with interpolation853b881ArrayTail: Fix fix non-tuple arraysf3aabd8UnionMinandUnionMaxd52d5e7Meta
Huge thanks to all the contributors to this release, especially @som-sm 🙌
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.